{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "8c81e583",
   "metadata": {},
   "source": [
    "# 位置信息"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "9349a0c6",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.678280,23.628439'"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import requests\n",
    "geo_url = \"https://restapi.amap.com/v3/geocode/geo?parameters\"\n",
    "payload = {\n",
    "    \"key\":\"8a58c8075687673efd0e4941e9c5145c\",\n",
    "    \"address\":\"广东省广州市从化区广州南方学院\"\n",
    "}\n",
    "r = requests.get(url=geo_url, params=payload)\n",
    "广州南方学院_location = r.json()['geocodes'][0]['location']\n",
    "广州南方学院_location"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "fa79b6dc",
   "metadata": {},
   "source": [
    "# 2. 搜索POI\n",
    "* 搜索方式\n",
    "> 1. keywords(关键词)\n",
    "> 2. types(分类-例如高德的分类)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "9006e2bf",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '872',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': '环市东路1123号荔枝园',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': [],\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '营养自选',\n",
       "   'location': '113.614887,23.580316',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0HRLC2TRX'},\n",
       "  {'parent': [],\n",
       "   'address': '环市东路666号(凯景酒店紧邻)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '150.00',\n",
       "    'opentime2': '11:00-22:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '11:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;海鲜酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/29a890d9498b5f23c9119d96f1d31e34'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/084390ba482f2303f48f9b5f9ce93675'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/241ac0b5a09005068722c5cc448bbee8'}],\n",
       "   'typecode': '050119',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '椰林海鲜码头(从化店)',\n",
       "   'location': '113.615535,23.556321',\n",
       "   'tel': '020-87999977',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFG6ZL2Q'},\n",
       "  {'parent': 'B00140AXVL',\n",
       "   'address': '新城路68号新世纪广场1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '23.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0e9a94b69dc247a60b45e8820ad88c8f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fe84c35a96472dfeea4cb9df025bd592'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '从化区',\n",
       "   'name': '麦当劳(从化新世纪广场店)',\n",
       "   'location': '113.588700,23.547764',\n",
       "   'tel': '020-87921092;4008597597',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140BNGX'},\n",
       "  {'parent': [],\n",
       "   'address': '碧水新村西区9栋(保安亭直入150米)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '周一至周日:11:30-01:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '11:30-01:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/dc2fae77fff810a6a7f8b4ccf3e382db'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '马路边串串火锅',\n",
       "   'location': '113.729836,23.702297',\n",
       "   'tel': '17702099990',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G2BLA1Q7'},\n",
       "  {'parent': [],\n",
       "   'address': '派潭镇高滩村林田坳新村路6号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '52.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.6',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2b87bac969d04207b966965733f46bc9'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/024348c04002dd79abc3e6ff9a2e0741'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2c78b83b944f2f31627fd3787201ed68'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '始于1987年温泉饭店竹筒饭客家烧鸡',\n",
       "   'location': '113.775928,23.562550',\n",
       "   'tel': '15813342926',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141S4B4'},\n",
       "  {'parent': 'B00140UGAP',\n",
       "   'address': '新城东路66号林苑大厦1-2层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '28.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be1d148709c9307f451ec7d293c370c5'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/282bdf06e156007d31ecdc86a174190a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1f617e9d390293872c9cf505d0c0d518'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '3',\n",
       "   'adname': '从化区',\n",
       "   'name': '肯德基甜品站(新世纪店)',\n",
       "   'location': '113.587847,23.547690',\n",
       "   'tel': '4009208801;020-87939891;020-87939871',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140TWK0'},\n",
       "  {'parent': [],\n",
       "   'address': '良口镇新城街12号首层、第二层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '45.00',\n",
       "    'opentime2': '10:00-22:30',\n",
       "    'rating': '4.5',\n",
       "    'open_time': '10:00-22:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;综合酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a38421968832cf62d19a1fea66b86bcc'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/07969e8851f11fcaad3148105ee2fbb1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/16c2e3e55eb4cd16e8f8e3151abf337c'}],\n",
       "   'typecode': '050101',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '新江酒楼老字号(良口镇店)',\n",
       "   'location': '113.734700,23.718070',\n",
       "   'tel': '020-87851588;15918495209',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140W39Q'},\n",
       "  {'parent': [],\n",
       "   'address': '从化市街口镇西宁中路73号、75号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '18.00',\n",
       "    'opentime2': '09:00-23:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '09:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/098a4e6ce6493dffb91f0cfbc6efff20'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/da3a0f6a0b85e72c9a0851bf9592553e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/03f88863457ddc2a5f71d6bb6e82a8d7'}],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '华莱士(西宁店)',\n",
       "   'location': '113.588614,23.550416',\n",
       "   'tel': '020-87928895;020-82443299',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFIJQ9S6'},\n",
       "  {'parent': [],\n",
       "   'address': '派潭镇高滩村林田坳新村路5号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '63.00',\n",
       "    'opentime2': '09:00-24:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '09:00-24:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/31754409714d4f51687c686317884311'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6397ac3740b5084ecbd54567dc46cf04'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/37f46a50d2d160f6e87946b5d7e92907'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '客家人家',\n",
       "   'location': '113.775605,23.562750',\n",
       "   'tel': '13527826682;18218881613',\n",
       "   'shopid': [],\n",
       "   'id': 'B0GRU56Y5M'},\n",
       "  {'parent': [],\n",
       "   'address': '江埔街环市东路138号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '10:30-21:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '10:30-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b6726d4ad89cc6b92a09c942a5b6c898'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cb63cbf5354c849854b8e09c9a00eb76'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ff9685f4900a5eb862bb7b10531e9104'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '南海食街(从化城区总店)',\n",
       "   'location': '113.605662,23.526272',\n",
       "   'tel': '020-87981548;13926118880;020-87983418',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140HTH8'},\n",
       "  {'parent': 'B0FFIVO5WA',\n",
       "   'address': '江埔街从城大道113号201铺',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '96.00',\n",
       "    'opentime2': '09:00-07:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '09:00-07:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7a633b47f5851eb7acd089603f52b9a0'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fd5a07d6cefb11e56a4d2959b81e7f98'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/112a641466c5d52abc1799f619fffd4f'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '从化区',\n",
       "   'name': '海底捞火锅(欣荣广场店)',\n",
       "   'location': '113.588887,23.533429',\n",
       "   'tel': '020-83339986;020-83339987',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G3DH1ZXH'},\n",
       "  {'parent': [],\n",
       "   'address': '江埔街河东北路79号之四、五、六号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '77.00',\n",
       "    'opentime2': '11:00-14:00；17:00-21:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '11:00-14:00 17:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;综合酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ec89f7fec235add4b8e5f0a8653ce7fc'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/55b5b57aa31058fe016af0e1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/55b5b57aa31058fe016af0dc'}],\n",
       "   'typecode': '050101',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '春景酒家',\n",
       "   'location': '113.602776,23.546005',\n",
       "   'tel': '020-87957311',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFFYNBJ1'},\n",
       "  {'parent': 'B0FFIVO5WA',\n",
       "   'address': '江浦街欣荣宏国际商贸城二楼',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '71.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.7',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e0f8589eadddc46982a21391345d1230'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3ef98c0a31b52e47a7494c9f5511a167'},\n",
       "    {'title': [],\n",
       "     'url': 'https://img.alicdn.com/imgextra/i1/3695320962/O1CN011IydfhnYum7inkD_!!3695320962-0-kbcontentapng.jpg'}],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '从化区',\n",
       "   'name': '正哥客家菜&全天茶市',\n",
       "   'location': '113.589719,23.532760',\n",
       "   'tel': '020-37501898',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFH9KOLF'},\n",
       "  {'parent': [],\n",
       "   'address': '建云东路128号新城小学背后(标准桌球城)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '42.00',\n",
       "    'opentime2': '09:00-22:30',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '09:00-22:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;四川菜(川菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9d31c416aec7e2d55e0774fadf83bd50'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0ef43411c7d4b797c839805a0a9f1fb3'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/44b5b1c1a503756d2ec484597e010196'}],\n",
       "   'typecode': '050102',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '霸道酸菜鱼',\n",
       "   'location': '113.585544,23.542774',\n",
       "   'tel': '18022865823;020-87928338',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFH9KVSC'},\n",
       "  {'parent': [],\n",
       "   'address': '育新路38号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '77.00',\n",
       "    'opentime2': '09:30-14:00；16:30-21:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '09:30-14:00 16:30-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1ba81e1d5ffe4675208a1f858620973e'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '阿二靓汤(育新路店)',\n",
       "   'location': '113.586358,23.542400',\n",
       "   'tel': '020-87932403',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141ICR2'},\n",
       "  {'parent': [],\n",
       "   'address': '白水寨嘉华温泉酒店内',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '163.00',\n",
       "    'opentime2': '全年11:00-24:00',\n",
       "    'rating': '4.1',\n",
       "    'open_time': '11:00-24:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;外国餐厅;外国餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/03e1fa984d1828b736495ca4fe884bee'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1549bd74cb1db96a1c51602a619d87ce'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1848831b07e3180020d992c452967139'}],\n",
       "   'typecode': '050200',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '白水寨嘉华酒店峰景西餐厅',\n",
       "   'location': '113.769390,23.556179',\n",
       "   'tel': '020-82822226;020-82826888',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFI1WX57'},\n",
       "  {'parent': [],\n",
       "   'address': '城郊街新城西路144号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '48.00',\n",
       "    'opentime2': '11:00-14:00；17:00-21:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '11:00-14:00 17:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;湖南菜(湘菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/31896b719acdb1e059508aade4fc83f1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8066b38040ef333e16da136843085ab0'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/229cbadfe72ca5d53652f13f481904e0'}],\n",
       "   'typecode': '050108',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '厨嫂当家(从化店)',\n",
       "   'location': '113.577622,23.554872',\n",
       "   'tel': '020-87935388',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLMQSHY'},\n",
       "  {'parent': [],\n",
       "   'address': '市河滨北路178号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '60.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.4',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7fe9ec1daff8701eca6adea5d33a2294'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/003d6f5a173d2f024747dee6fd57a033'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c2ecd61df0acac6021fd5f1f45436eb1'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '祥辉餐厅(佛冈26年老字号店)',\n",
       "   'location': '113.595916,23.551465',\n",
       "   'tel': '17819787353',\n",
       "   'shopid': [],\n",
       "   'id': 'B0HAN5MTYE'},\n",
       "  {'parent': [],\n",
       "   'address': '新街34号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '28.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.3',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/55c6dda5d22e38a3ca4d9322c3eeaab0'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/580907b03a384034dad1067badaa3df6'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': 'A度特色餐吧',\n",
       "   'location': '113.735700,23.719664',\n",
       "   'tel': '13660399112',\n",
       "   'shopid': [],\n",
       "   'id': 'B0HGTLASYE'},\n",
       "  {'parent': [],\n",
       "   'address': '派潭镇高滩村高滩桥',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '63.00',\n",
       "    'opentime2': '07:00-23:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '07:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9f663b2f5aacb970244ea92fbe53031a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be9cfb69127cfc9427bd95e41059556c'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/54cf1b9ff0a3ddfab418ad48e17b210c'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '仙泉美食城',\n",
       "   'location': '113.779098,23.553569',\n",
       "   'tel': '020-82826128',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140W44O'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "around_url = \"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "\n",
    "payload = {\n",
    "    \"key\":\"8a58c8075687673efd0e4941e9c5145c\",\n",
    "    \"location\":广州南方学院_location,\n",
    "    \"keywords\":\"美食\",\n",
    "    \"page\":3\n",
    "}\n",
    "r = requests.get(url=around_url, params=payload)\n",
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "dd0b801e",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '879',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': '隆兴路13号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '69.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.4',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;四川菜(川菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f8c4ba0d90ab8f5cffba91001cfa8771'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/46951237e8ce87e34fe2c823be13fe25'}],\n",
       "   'typecode': '050102',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '重庆888特色川菜馆',\n",
       "   'location': '113.604284,23.528159',\n",
       "   'tel': '13642332727',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFF3UM9Z'},\n",
       "  {'parent': [],\n",
       "   'address': '街口街垅南路108号(民政局对面)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '4.0',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅|生活服务;洗浴推拿场所;洗浴推拿场所',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/376d5e6a874d1c96dc2be5a2f53d3160'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6e60d44dcfec349dadb3e89b065d4d52'}],\n",
       "   'typecode': '050100|071400',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '宝贝靓汤',\n",
       "   'location': '113.586296,23.538310',\n",
       "   'tel': '020-37906111',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFFSRMFR'},\n",
       "  {'parent': [],\n",
       "   'address': '青云路28号(青云公园斜对面、公交车站旁)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '55.00',\n",
       "    'opentime2': [],\n",
       "    'rating': '4.2',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5e4a1b9df31a8722039db9fe74054d6a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/09790a938654c7865f19c15770371865'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7f39468a9c3942acef1aae2531e5089f'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '从化串串香',\n",
       "   'location': '113.585006,23.545106',\n",
       "   'tel': '020-87931985',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140TWET'},\n",
       "  {'parent': [],\n",
       "   'address': '塘尾村共青路599号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '09:00-21:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '09:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;综合酒楼',\n",
       "   'photos': [{'title': '酒店外观',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5dbcdc5500856ca4fbc30afeee394296'},\n",
       "    {'title': '客房',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/89128c3c6c51e4771a60b8cbe8c4eede'},\n",
       "    {'title': '客房',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f8cdf1d44d150d784dab21ee663192b3'}],\n",
       "   'typecode': '050101',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '碧海山庄',\n",
       "   'location': '113.744285,23.688613',\n",
       "   'tel': '13926100051',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140W36K'},\n",
       "  {'parent': [],\n",
       "   'address': '建设路42-44号二楼(富顿中心对面)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '75.00',\n",
       "    'opentime2': '10:00-22:00',\n",
       "    'rating': '4.4',\n",
       "    'open_time': '10:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2e3371539470f058c30f5937a2361515'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9e5ea85dfe8daef5ded4ba7ef25432c1'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '和天下酒家.从化特色客家风味',\n",
       "   'location': '113.589803,23.544233',\n",
       "   'tel': '020-87938813',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKSDGCF'},\n",
       "  {'parent': [],\n",
       "   'address': '城郊街新城西路144号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '48.00',\n",
       "    'opentime2': '11:00-14:00；17:00-21:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '11:00-14:00 17:00-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;湖南菜(湘菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/31896b719acdb1e059508aade4fc83f1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8066b38040ef333e16da136843085ab0'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/229cbadfe72ca5d53652f13f481904e0'}],\n",
       "   'typecode': '050108',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '厨嫂当家(从化店)',\n",
       "   'location': '113.577622,23.554872',\n",
       "   'tel': '020-87935388',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLMQSHY'},\n",
       "  {'parent': [],\n",
       "   'address': '街口建设路1号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '47.00',\n",
       "    'opentime2': '10:00-02:00',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '10:00-02:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b654de31ed9e9b000902e3c4173d175c'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b3f20c0bdca121a1a0ddf737bd6407ad'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/11b54a1471ae752369ab707c26ca18f2'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '愿者上钩从化建设路店',\n",
       "   'location': '113.589390,23.546670',\n",
       "   'tel': '13539851093',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLF70BO'},\n",
       "  {'parent': [],\n",
       "   'address': '江埔街上罗村下洞一队',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': [],\n",
       "    'rating': '4.4',\n",
       "    'open_time': [],\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2dad709dea3ddbc4a3e387cd44dec614'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/21a9aef3-8d01-4db8-aa76-6b243b1035b6.jpg'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/68b1ca54-9fe1-4c29-be44-4eb5f7d74dcd.jpg'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '上厨私房菜馆',\n",
       "   'location': '113.629301,23.492245',\n",
       "   'tel': '13560042210;13602217085',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL7JZC2'},\n",
       "  {'parent': [],\n",
       "   'address': '流溪河林场黄竹塱五隊',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '11:00-00:30',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '11:00-00:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/357a96d6d904e7dac390823332b93db7'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2a3b34929c085bd83d7c1a1e4cd8e333'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '广州从化区良口味鲜源饭店',\n",
       "   'location': '113.778361,23.742949',\n",
       "   'tel': '13719393369',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLAG169'},\n",
       "  {'parent': [],\n",
       "   'address': '良口镇世界生态设计大会址对面',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '40.00',\n",
       "    'opentime2': '周一至周日:09:00-20:30',\n",
       "    'rating': '3.9',\n",
       "    'open_time': '09:00-20:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/457ba456f293b779102c87e81aafba15'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bf0d842cc57bc759eca85c316a97d2a1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/5c1a0111-e6d7-4274-8254-db8a88ffb3ac.jpg'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '万物园农家菜',\n",
       "   'location': '113.727340,23.700529',\n",
       "   'tel': '13539499484',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKWHBDG'},\n",
       "  {'parent': [],\n",
       "   'address': '江埔街从城大道150',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '09:30-21:30',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '09:30-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9359518f9599d4ce1fc45a6918ee9a36'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e0fa25871545964633dfce7f0cb105f1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b4962a15210906f9e1933629bfc38b6f'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '凤凰人家农家饭店',\n",
       "   'location': '113.596522,23.529254',\n",
       "   'tel': '020-87988523;13926186130',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKRNUB9'},\n",
       "  {'parent': [],\n",
       "   'address': '富城路与福城路交叉口',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '每天09:30-21:00',\n",
       "    'rating': '3.9',\n",
       "    'open_time': '09:30-21:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3bbd321d0642df46d8c67fdd79c2ce80'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e15dc64ad8f3cd28ad342d21efa1f72b'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7b6d9778349335c0bd991108ceb76a01'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '素心社养生私房菜',\n",
       "   'location': '113.575856,23.557837',\n",
       "   'tel': '13902329094',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKNRBPM'},\n",
       "  {'parent': 'B0FFIVO5WA',\n",
       "   'address': '江埔街欣荣宏广场商业街15号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '99.00',\n",
       "    'opentime2': '10:30-22:30',\n",
       "    'rating': '4.1',\n",
       "    'open_time': '10:30-22:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9b3933d39a5e01434971d1ce4932c519'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ca1ff296bb9483436ea307bc82cb9c22'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/e4e04df9-8701-4803-9699-90ab839dc2f8.jpg'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '从化区',\n",
       "   'name': '牛来牛往潮汕牛肉火锅',\n",
       "   'location': '113.589022,23.532901',\n",
       "   'tel': '13421538658;18998429677',\n",
       "   'shopid': [],\n",
       "   'id': 'B0G26ZL7Z1'},\n",
       "  {'parent': [],\n",
       "   'address': '派潭镇高滩村高滩桥',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '63.00',\n",
       "    'opentime2': '07:00-23:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '07:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9f663b2f5aacb970244ea92fbe53031a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be9cfb69127cfc9427bd95e41059556c'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/54cf1b9ff0a3ddfab418ad48e17b210c'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '仙泉美食城',\n",
       "   'location': '113.779098,23.553569',\n",
       "   'tel': '020-82826128',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140W44O'},\n",
       "  {'parent': [],\n",
       "   'address': '建云东路128号新城小学背后(标准桌球城)',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '42.00',\n",
       "    'opentime2': '09:00-22:30',\n",
       "    'rating': '4.6',\n",
       "    'open_time': '09:00-22:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;四川菜(川菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9d31c416aec7e2d55e0774fadf83bd50'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0ef43411c7d4b797c839805a0a9f1fb3'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/44b5b1c1a503756d2ec484597e010196'}],\n",
       "   'typecode': '050102',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '霸道酸菜鱼',\n",
       "   'location': '113.585544,23.542774',\n",
       "   'tel': '18022865823;020-87928338',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFH9KVSC'},\n",
       "  {'parent': [],\n",
       "   'address': '青云路71号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '19.00',\n",
       "    'opentime2': '07:00-21:30',\n",
       "    'rating': '4.4',\n",
       "    'open_time': '07:00-21:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0dfe2788b8ed834cb517be817703bb2a'}],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '羊师奶羊肉粉(从化青云路店)',\n",
       "   'location': '113.584786,23.545838',\n",
       "   'tel': '15986413522',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFKZCWU0'},\n",
       "  {'parent': [],\n",
       "   'address': '镇镇北路40号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '周一至周日:17:00-03:00',\n",
       "    'rating': '4.2',\n",
       "    'open_time': '17:00-03:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;特色/地方风味餐厅',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/03959988c2b75fb47a7a0afc4242837c'}],\n",
       "   'typecode': '050118',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '肥婆烧烤',\n",
       "   'location': '113.593420,23.553949',\n",
       "   'tel': '13533350294;15914229451',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141P4AO'},\n",
       "  {'parent': [],\n",
       "   'address': '江埔街姓钟围88号101档',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '11:00-14:00；18:00-24:00',\n",
       "    'rating': '4.5',\n",
       "    'open_time': '11:00-14:00 18:00-24:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/348ecec76bae51865cfa19369e5705cc'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/ada3da2c-22d3-47c7-99c6-90e35818c75c.jpg'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '烟火人间(烧烤火锅)',\n",
       "   'location': '113.593610,23.530443',\n",
       "   'tel': '13711386852',\n",
       "   'shopid': [],\n",
       "   'id': 'B0H22PJQ01'},\n",
       "  {'parent': [],\n",
       "   'address': '蓝田东路107-111',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '80.00',\n",
       "    'opentime2': '11:00-03:00',\n",
       "    'rating': '4.4',\n",
       "    'open_time': '11:00-03:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;四川菜(川菜)|餐饮服务;中餐厅;潮州菜',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/99a2f75d07e37d768d057881a0ef54b6'}],\n",
       "   'typecode': '050102|050123',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '从化区',\n",
       "   'name': '嘉瑞潮州菜馆(蓝田东路)',\n",
       "   'location': '113.586901,23.545853',\n",
       "   'tel': '020-61700438;020-87937988',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140MCLH'},\n",
       "  {'parent': [],\n",
       "   'address': '派潭镇高滩村林田坳新村路5号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '63.00',\n",
       "    'opentime2': '09:00-24:00',\n",
       "    'rating': '4.3',\n",
       "    'open_time': '09:00-24:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '广州市',\n",
       "   'type': '餐饮服务;中餐厅;广东菜(粤菜)',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/31754409714d4f51687c686317884311'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6397ac3740b5084ecbd54567dc46cf04'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/37f46a50d2d160f6e87946b5d7e92907'}],\n",
       "   'typecode': '050103',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '客家人家',\n",
       "   'location': '113.775605,23.562750',\n",
       "   'tel': '13527826682;18218881613',\n",
       "   'shopid': [],\n",
       "   'id': 'B0GRU56Y5M'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# types 编码表\n",
    "around_url = \"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "\n",
    "payload = {\n",
    "    \"key\":\"8a58c8075687673efd0e4941e9c5145c\",\n",
    "    \"location\":广州南方学院_location,\n",
    "    \"types\":\"050100\",\n",
    "    \"page\":3\n",
    "}\n",
    "r = requests.get(url=around_url, params=payload)\n",
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "7355ee68",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "a6a2f137",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>parent</th>\n",
       "      <th>address</th>\n",
       "      <th>distance</th>\n",
       "      <th>pname</th>\n",
       "      <th>importance</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>cityname</th>\n",
       "      <th>type</th>\n",
       "      <th>photos</th>\n",
       "      <th>typecode</th>\n",
       "      <th>...</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>tel</th>\n",
       "      <th>shopid</th>\n",
       "      <th>id</th>\n",
       "      <th>biz_ext.cost</th>\n",
       "      <th>biz_ext.opentime2</th>\n",
       "      <th>biz_ext.rating</th>\n",
       "      <th>biz_ext.open_time</th>\n",
       "      <th>biz_ext.meal_ordering</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>[]</td>\n",
       "      <td>隆兴路13号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;四川菜(川菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050102</td>\n",
       "      <td>...</td>\n",
       "      <td>重庆888特色川菜馆</td>\n",
       "      <td>113.604284,23.528159</td>\n",
       "      <td>13642332727</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFF3UM9Z</td>\n",
       "      <td>69.00</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.4</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>[]</td>\n",
       "      <td>街口街垅南路108号(民政局对面)</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅|生活服务;洗浴推拿场所;洗浴推拿场所</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100|071400</td>\n",
       "      <td>...</td>\n",
       "      <td>宝贝靓汤</td>\n",
       "      <td>113.586296,23.538310</td>\n",
       "      <td>020-37906111</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFFSRMFR</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>[]</td>\n",
       "      <td>青云路28号(青云公园斜对面、公交车站旁)</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;火锅店</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050117</td>\n",
       "      <td>...</td>\n",
       "      <td>从化串串香</td>\n",
       "      <td>113.585006,23.545106</td>\n",
       "      <td>020-87931985</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140TWET</td>\n",
       "      <td>55.00</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.2</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>[]</td>\n",
       "      <td>塘尾村共青路599号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;综合酒楼</td>\n",
       "      <td>[{'title': '酒店外观', 'url': 'http://store.is.aut...</td>\n",
       "      <td>050101</td>\n",
       "      <td>...</td>\n",
       "      <td>碧海山庄</td>\n",
       "      <td>113.744285,23.688613</td>\n",
       "      <td>13926100051</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140W36K</td>\n",
       "      <td>[]</td>\n",
       "      <td>09:00-21:00</td>\n",
       "      <td>4.6</td>\n",
       "      <td>09:00-21:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>[]</td>\n",
       "      <td>建设路42-44号二楼(富顿中心对面)</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>和天下酒家.从化特色客家风味</td>\n",
       "      <td>113.589803,23.544233</td>\n",
       "      <td>020-87938813</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKSDGCF</td>\n",
       "      <td>75.00</td>\n",
       "      <td>10:00-22:00</td>\n",
       "      <td>4.4</td>\n",
       "      <td>10:00-22:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>[]</td>\n",
       "      <td>城郊街新城西路144号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;湖南菜(湘菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050108</td>\n",
       "      <td>...</td>\n",
       "      <td>厨嫂当家(从化店)</td>\n",
       "      <td>113.577622,23.554872</td>\n",
       "      <td>020-87935388</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFLMQSHY</td>\n",
       "      <td>48.00</td>\n",
       "      <td>11:00-14:00；17:00-21:00</td>\n",
       "      <td>4.6</td>\n",
       "      <td>11:00-14:00 17:00-21:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>[]</td>\n",
       "      <td>街口建设路1号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>愿者上钩从化建设路店</td>\n",
       "      <td>113.589390,23.546670</td>\n",
       "      <td>13539851093</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFLF70BO</td>\n",
       "      <td>47.00</td>\n",
       "      <td>10:00-02:00</td>\n",
       "      <td>4.6</td>\n",
       "      <td>10:00-02:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>[]</td>\n",
       "      <td>江埔街上罗村下洞一队</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>上厨私房菜馆</td>\n",
       "      <td>113.629301,23.492245</td>\n",
       "      <td>13560042210;13602217085</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFL7JZC2</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.4</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>[]</td>\n",
       "      <td>流溪河林场黄竹塱五隊</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>广州从化区良口味鲜源饭店</td>\n",
       "      <td>113.778361,23.742949</td>\n",
       "      <td>13719393369</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFLAG169</td>\n",
       "      <td>[]</td>\n",
       "      <td>11:00-00:30</td>\n",
       "      <td>4.3</td>\n",
       "      <td>11:00-00:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>[]</td>\n",
       "      <td>良口镇世界生态设计大会址对面</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>万物园农家菜</td>\n",
       "      <td>113.727340,23.700529</td>\n",
       "      <td>13539499484</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKWHBDG</td>\n",
       "      <td>40.00</td>\n",
       "      <td>周一至周日:09:00-20:30</td>\n",
       "      <td>3.9</td>\n",
       "      <td>09:00-20:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>[]</td>\n",
       "      <td>江埔街从城大道150</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050103</td>\n",
       "      <td>...</td>\n",
       "      <td>凤凰人家农家饭店</td>\n",
       "      <td>113.596522,23.529254</td>\n",
       "      <td>020-87988523;13926186130</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKRNUB9</td>\n",
       "      <td>[]</td>\n",
       "      <td>09:30-21:30</td>\n",
       "      <td>4.3</td>\n",
       "      <td>09:30-21:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>[]</td>\n",
       "      <td>富城路与福城路交叉口</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>素心社养生私房菜</td>\n",
       "      <td>113.575856,23.557837</td>\n",
       "      <td>13902329094</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKNRBPM</td>\n",
       "      <td>[]</td>\n",
       "      <td>每天09:30-21:00</td>\n",
       "      <td>3.9</td>\n",
       "      <td>09:30-21:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFIVO5WA</td>\n",
       "      <td>江埔街欣荣宏广场商业街15号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;火锅店</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050117</td>\n",
       "      <td>...</td>\n",
       "      <td>牛来牛往潮汕牛肉火锅</td>\n",
       "      <td>113.589022,23.532901</td>\n",
       "      <td>13421538658;18998429677</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0G26ZL7Z1</td>\n",
       "      <td>99.00</td>\n",
       "      <td>10:30-22:30</td>\n",
       "      <td>4.1</td>\n",
       "      <td>10:30-22:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>[]</td>\n",
       "      <td>派潭镇高滩村高滩桥</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>仙泉美食城</td>\n",
       "      <td>113.779098,23.553569</td>\n",
       "      <td>020-82826128</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140W44O</td>\n",
       "      <td>63.00</td>\n",
       "      <td>07:00-23:00</td>\n",
       "      <td>4.3</td>\n",
       "      <td>07:00-23:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>[]</td>\n",
       "      <td>建云东路128号新城小学背后(标准桌球城)</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;四川菜(川菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050102</td>\n",
       "      <td>...</td>\n",
       "      <td>霸道酸菜鱼</td>\n",
       "      <td>113.585544,23.542774</td>\n",
       "      <td>18022865823;020-87928338</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFH9KVSC</td>\n",
       "      <td>42.00</td>\n",
       "      <td>09:00-22:30</td>\n",
       "      <td>4.6</td>\n",
       "      <td>09:00-22:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>[]</td>\n",
       "      <td>青云路71号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050100</td>\n",
       "      <td>...</td>\n",
       "      <td>羊师奶羊肉粉(从化青云路店)</td>\n",
       "      <td>113.584786,23.545838</td>\n",
       "      <td>15986413522</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0FFKZCWU0</td>\n",
       "      <td>19.00</td>\n",
       "      <td>07:00-21:30</td>\n",
       "      <td>4.4</td>\n",
       "      <td>07:00-21:30</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>[]</td>\n",
       "      <td>镇镇北路40号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;特色/地方风味餐厅</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050118</td>\n",
       "      <td>...</td>\n",
       "      <td>肥婆烧烤</td>\n",
       "      <td>113.593420,23.553949</td>\n",
       "      <td>13533350294;15914229451</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00141P4AO</td>\n",
       "      <td>[]</td>\n",
       "      <td>周一至周日:17:00-03:00</td>\n",
       "      <td>4.2</td>\n",
       "      <td>17:00-03:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>[]</td>\n",
       "      <td>江埔街姓钟围88号101档</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;火锅店</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050117</td>\n",
       "      <td>...</td>\n",
       "      <td>烟火人间(烧烤火锅)</td>\n",
       "      <td>113.593610,23.530443</td>\n",
       "      <td>13711386852</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0H22PJQ01</td>\n",
       "      <td>[]</td>\n",
       "      <td>11:00-14:00；18:00-24:00</td>\n",
       "      <td>4.5</td>\n",
       "      <td>11:00-14:00 18:00-24:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>[]</td>\n",
       "      <td>蓝田东路107-111</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;四川菜(川菜)|餐饮服务;中餐厅;潮州菜</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050102|050123</td>\n",
       "      <td>...</td>\n",
       "      <td>嘉瑞潮州菜馆(蓝田东路)</td>\n",
       "      <td>113.586901,23.545853</td>\n",
       "      <td>020-61700438;020-87937988</td>\n",
       "      <td>[]</td>\n",
       "      <td>B00140MCLH</td>\n",
       "      <td>80.00</td>\n",
       "      <td>11:00-03:00</td>\n",
       "      <td>4.4</td>\n",
       "      <td>11:00-03:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>[]</td>\n",
       "      <td>派潭镇高滩村林田坳新村路5号</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东省</td>\n",
       "      <td>[]</td>\n",
       "      <td>diner</td>\n",
       "      <td>广州市</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>050103</td>\n",
       "      <td>...</td>\n",
       "      <td>客家人家</td>\n",
       "      <td>113.775605,23.562750</td>\n",
       "      <td>13527826682;18218881613</td>\n",
       "      <td>[]</td>\n",
       "      <td>B0GRU56Y5M</td>\n",
       "      <td>63.00</td>\n",
       "      <td>09:00-24:00</td>\n",
       "      <td>4.3</td>\n",
       "      <td>09:00-24:00</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>20 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        parent                address distance pname importance biz_type  \\\n",
       "0           []                 隆兴路13号       []   广东省         []    diner   \n",
       "1           []      街口街垅南路108号(民政局对面)       []   广东省         []    diner   \n",
       "2           []  青云路28号(青云公园斜对面、公交车站旁)       []   广东省         []    diner   \n",
       "3           []             塘尾村共青路599号       []   广东省         []    diner   \n",
       "4           []    建设路42-44号二楼(富顿中心对面)       []   广东省         []    diner   \n",
       "5           []            城郊街新城西路144号       []   广东省         []    diner   \n",
       "6           []                街口建设路1号       []   广东省         []    diner   \n",
       "7           []             江埔街上罗村下洞一队       []   广东省         []    diner   \n",
       "8           []             流溪河林场黄竹塱五隊       []   广东省         []    diner   \n",
       "9           []         良口镇世界生态设计大会址对面       []   广东省         []    diner   \n",
       "10          []             江埔街从城大道150       []   广东省         []    diner   \n",
       "11          []             富城路与福城路交叉口       []   广东省         []    diner   \n",
       "12  B0FFIVO5WA         江埔街欣荣宏广场商业街15号       []   广东省         []    diner   \n",
       "13          []              派潭镇高滩村高滩桥       []   广东省         []    diner   \n",
       "14          []  建云东路128号新城小学背后(标准桌球城)       []   广东省         []    diner   \n",
       "15          []                 青云路71号       []   广东省         []    diner   \n",
       "16          []                镇镇北路40号       []   广东省         []    diner   \n",
       "17          []          江埔街姓钟围88号101档       []   广东省         []    diner   \n",
       "18          []            蓝田东路107-111       []   广东省         []    diner   \n",
       "19          []         派潭镇高滩村林田坳新村路5号       []   广东省         []    diner   \n",
       "\n",
       "   cityname                             type  \\\n",
       "0       广州市                 餐饮服务;中餐厅;四川菜(川菜)   \n",
       "1       广州市  餐饮服务;中餐厅;中餐厅|生活服务;洗浴推拿场所;洗浴推拿场所   \n",
       "2       广州市                     餐饮服务;中餐厅;火锅店   \n",
       "3       广州市                    餐饮服务;中餐厅;综合酒楼   \n",
       "4       广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "5       广州市                 餐饮服务;中餐厅;湖南菜(湘菜)   \n",
       "6       广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "7       广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "8       广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "9       广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "10      广州市                 餐饮服务;中餐厅;广东菜(粤菜)   \n",
       "11      广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "12      广州市                     餐饮服务;中餐厅;火锅店   \n",
       "13      广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "14      广州市                 餐饮服务;中餐厅;四川菜(川菜)   \n",
       "15      广州市                     餐饮服务;中餐厅;中餐厅   \n",
       "16      广州市               餐饮服务;中餐厅;特色/地方风味餐厅   \n",
       "17      广州市                     餐饮服务;中餐厅;火锅店   \n",
       "18      广州市    餐饮服务;中餐厅;四川菜(川菜)|餐饮服务;中餐厅;潮州菜   \n",
       "19      广州市                 餐饮服务;中餐厅;广东菜(粤菜)   \n",
       "\n",
       "                                               photos       typecode  ...  \\\n",
       "0   [{'title': [], 'url': 'http://store.is.autonav...         050102  ...   \n",
       "1   [{'title': [], 'url': 'http://store.is.autonav...  050100|071400  ...   \n",
       "2   [{'title': [], 'url': 'http://store.is.autonav...         050117  ...   \n",
       "3   [{'title': '酒店外观', 'url': 'http://store.is.aut...         050101  ...   \n",
       "4   [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "5   [{'title': [], 'url': 'http://store.is.autonav...         050108  ...   \n",
       "6   [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "7   [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "8   [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "9   [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "10  [{'title': [], 'url': 'http://store.is.autonav...         050103  ...   \n",
       "11  [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "12  [{'title': [], 'url': 'http://store.is.autonav...         050117  ...   \n",
       "13  [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "14  [{'title': [], 'url': 'http://store.is.autonav...         050102  ...   \n",
       "15  [{'title': [], 'url': 'http://store.is.autonav...         050100  ...   \n",
       "16  [{'title': [], 'url': 'http://store.is.autonav...         050118  ...   \n",
       "17  [{'title': [], 'url': 'http://store.is.autonav...         050117  ...   \n",
       "18  [{'title': [], 'url': 'http://store.is.autonav...  050102|050123  ...   \n",
       "19  [{'title': [], 'url': 'http://store.is.autonav...         050103  ...   \n",
       "\n",
       "              name              location                        tel shopid  \\\n",
       "0       重庆888特色川菜馆  113.604284,23.528159                13642332727     []   \n",
       "1             宝贝靓汤  113.586296,23.538310               020-37906111     []   \n",
       "2            从化串串香  113.585006,23.545106               020-87931985     []   \n",
       "3             碧海山庄  113.744285,23.688613                13926100051     []   \n",
       "4   和天下酒家.从化特色客家风味  113.589803,23.544233               020-87938813     []   \n",
       "5        厨嫂当家(从化店)  113.577622,23.554872               020-87935388     []   \n",
       "6       愿者上钩从化建设路店  113.589390,23.546670                13539851093     []   \n",
       "7           上厨私房菜馆  113.629301,23.492245    13560042210;13602217085     []   \n",
       "8     广州从化区良口味鲜源饭店  113.778361,23.742949                13719393369     []   \n",
       "9           万物园农家菜  113.727340,23.700529                13539499484     []   \n",
       "10        凤凰人家农家饭店  113.596522,23.529254   020-87988523;13926186130     []   \n",
       "11        素心社养生私房菜  113.575856,23.557837                13902329094     []   \n",
       "12      牛来牛往潮汕牛肉火锅  113.589022,23.532901    13421538658;18998429677     []   \n",
       "13           仙泉美食城  113.779098,23.553569               020-82826128     []   \n",
       "14           霸道酸菜鱼  113.585544,23.542774   18022865823;020-87928338     []   \n",
       "15  羊师奶羊肉粉(从化青云路店)  113.584786,23.545838                15986413522     []   \n",
       "16            肥婆烧烤  113.593420,23.553949    13533350294;15914229451     []   \n",
       "17      烟火人间(烧烤火锅)  113.593610,23.530443                13711386852     []   \n",
       "18    嘉瑞潮州菜馆(蓝田东路)  113.586901,23.545853  020-61700438;020-87937988     []   \n",
       "19            客家人家  113.775605,23.562750    13527826682;18218881613     []   \n",
       "\n",
       "            id biz_ext.cost        biz_ext.opentime2 biz_ext.rating  \\\n",
       "0   B0FFF3UM9Z        69.00                       []            4.4   \n",
       "1   B0FFFSRMFR           []                       []            4.0   \n",
       "2   B00140TWET        55.00                       []            4.2   \n",
       "3   B00140W36K           []              09:00-21:00            4.6   \n",
       "4   B0FFKSDGCF        75.00              10:00-22:00            4.4   \n",
       "5   B0FFLMQSHY        48.00  11:00-14:00；17:00-21:00            4.6   \n",
       "6   B0FFLF70BO        47.00              10:00-02:00            4.6   \n",
       "7   B0FFL7JZC2           []                       []            4.4   \n",
       "8   B0FFLAG169           []              11:00-00:30            4.3   \n",
       "9   B0FFKWHBDG        40.00        周一至周日:09:00-20:30            3.9   \n",
       "10  B0FFKRNUB9           []              09:30-21:30            4.3   \n",
       "11  B0FFKNRBPM           []            每天09:30-21:00            3.9   \n",
       "12  B0G26ZL7Z1        99.00              10:30-22:30            4.1   \n",
       "13  B00140W44O        63.00              07:00-23:00            4.3   \n",
       "14  B0FFH9KVSC        42.00              09:00-22:30            4.6   \n",
       "15  B0FFKZCWU0        19.00              07:00-21:30            4.4   \n",
       "16  B00141P4AO           []        周一至周日:17:00-03:00            4.2   \n",
       "17  B0H22PJQ01           []  11:00-14:00；18:00-24:00            4.5   \n",
       "18  B00140MCLH        80.00              11:00-03:00            4.4   \n",
       "19  B0GRU56Y5M        63.00              09:00-24:00            4.3   \n",
       "\n",
       "          biz_ext.open_time biz_ext.meal_ordering  \n",
       "0                        []                     0  \n",
       "1                        []                     0  \n",
       "2                        []                     0  \n",
       "3               09:00-21:00                     0  \n",
       "4               10:00-22:00                     0  \n",
       "5   11:00-14:00 17:00-21:00                     0  \n",
       "6               10:00-02:00                     0  \n",
       "7                        []                     0  \n",
       "8               11:00-00:30                     0  \n",
       "9               09:00-20:30                     0  \n",
       "10              09:30-21:30                     0  \n",
       "11              09:30-21:00                     0  \n",
       "12              10:30-22:30                     0  \n",
       "13              07:00-23:00                     0  \n",
       "14              09:00-22:30                     0  \n",
       "15              07:00-21:30                     0  \n",
       "16              17:00-03:00                     0  \n",
       "17  11:00-14:00 18:00-24:00                     0  \n",
       "18              11:00-03:00                     0  \n",
       "19              09:00-24:00                     0  \n",
       "\n",
       "[20 rows x 24 columns]"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(r.json()['pois'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "0bd96548",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
